const { ccclass, property } = cc._decorator;
import o from "./MatchGameData";
import i from "./AbTestMgr";
import r from "./PeripheralSystemDataMgr";

var n = ["哈喽～欢迎来到《小狗爱旅游》，在这里帮助我旅行可以赚取旅游补贴，旅游补贴可以直接提现到微信哦！", "<color=#BB4C1E>我们从</color><color=#33B238>成都</color><color=#BB4C1E>出发，途径30个城市，最终到达</color><color=#FF0000>北京</color><color=#BB4C1E>！</color>", "旅途中，每次前进都能获得大量旅游补贴！", "", "", "", "再赚460元就可提现888元了，预计今天就能提现！", "现在我们试着踏出旅途的第一步，开始赚钱吧！", "哇哦！闯关不仅能帮助我前进，还能获得大量旅游补贴和红包！", "红包也可以提现哦！", "", "让我们完成剩下的旅途，边旅行边赚钱吧！", "", "累计打卡30日就可领取10000元红包！"];

var l = ["哈喽～欢迎来到《小狗爱旅游》，在这里帮助我旅行可以赚取旅游补贴，旅游补贴可以直接提现到微信哦！", "<color=#BB4C1E>我们从</color><color=#33B238>诚笃</color><color=#BB4C1E>出发，途径30个城市，最终到达</color><color=#FF0000>北境</color><color=#BB4C1E>！</color>", "旅途中，每次前进都能获得大量旅游补贴！", "", "", "", "再赚460元就可提现888元了，预计今天就能提现！", "现在我们试着踏出旅途的第一步，开始赚钱吧！", "哇哦！闯关不仅能帮助我前进，还能获得大量旅游补贴和红包！", "红包也可以提现哦！", "", "让我们完成剩下的旅途，边旅行边赚钱吧！", "", "累计打卡30日就可领取10000元红包！"];
@ccclass
class OutsideGuideExperimentMgr {

    public OutSideLevelGuideExperimentStep = {
        SHOW_THEME: 1,
        CITY_GUIDE: 2,
        CITY_REWARD: 3,
        FUND_GUIDE: 4,
        FUND_PROVICE: 5,
        CLICK_WITHDRAW: 6,
        FUND_WITHDRAW: 7,
        BREAKTHROUGH: 8,
        MOVE_REWARD: 9,
        CASH_WITHDRAW_TIPS: 10,
        CASH_WITHDRAW: 11,
        CONTINUE_GAME: 12,
        CLOCK_DAY: 13,
        CLOCK_GUIDE_DONE: 14,
    };

    private static instance: OutsideGuideExperimentMgr;

    private constructor() { }

    public static getInstance(): OutsideGuideExperimentMgr {
        if (!OutsideGuideExperimentMgr.instance) {
            OutsideGuideExperimentMgr.instance = new OutsideGuideExperimentMgr();
        }
        return OutsideGuideExperimentMgr.instance;
    }

    public getOutSideGuideExPerimentDes(e: number): string {
        var t = i.isDmthFlag();
        var a = r.isHitOppoReviewBan();
        if (i.getDmth2Ab1()) {
            return l[e - 1];
        } else if (i.getDmth2Ab2()) {
            if (e == 2) {
                return "<color=#BB4C1E>我们从</color><color=#33B238>大熊猫基地</color><color=#BB4C1E>出发，途径30个城市，最终到达</color><color=#FF0000>长城</color><color=#BB4C1E>！</color>";
            } else {
                return n[e - 1];
            }
        } else if (t) {
            if (e != 2 || a) {
                return n[e - 1];
            } else {
                return "<color=#BB4C1E>我们从</color><color=#33B238>蜀郡</color><color=#BB4C1E>出发，途径30个城市，最终到达</color><color=#FF0000>京城</color><color=#BB4C1E>！</color>";
            }
        } else if (o.isOppoChannel()) {
            return l[e - 1];
        } else {
            return n[e - 1];
        }
    }
}
export default OutsideGuideExperimentMgr.getInstance();